home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000094_news@newsmaster….columbia.edu _Thu Jan 7 06:29:19 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA25336
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 7 Jan 1999 06:29:18 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id GAA29753
  7.     for kermit.misc@watsun; Thu, 7 Jan 1999 06:29:18 -0500 (EST)
  8. Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news-lond.gip.net!news.gsl.net!gip.net!nntp.news.xara.net!xara.net!news.itg.net.uk!usenet
  9. From: Tim Hedger <hedger@globalnet.co.uk>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Using kermit when not logged in as root
  12. Date: Thu, 07 Jan 1999 11:28:58 +0000
  13. Organization: WestonPark
  14. Lines: 70
  15. Message-ID: <36949A79.1FD09D1E@globalnet.co.uk>
  16. References: <76vso2$bc8$1@newnews.global.net.uk> <77069p$ark$1@apakabar.cc.columbia.edu>
  17. NNTP-Posting-Host: 195.147.129.199
  18. Mime-Version: 1.0
  19. Content-Type: text/plain; charset=us-ascii
  20. Content-Transfer-Encoding: 7bit
  21. X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i586)
  22. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:9724
  23.  
  24. Frank da Cruz wrote:
  25.  
  26. > In article <76vso2$bc8$1@newnews.global.net.uk>,
  27. > Tim Hedger <news@hedger.globalnet.co.uk> wrote:
  28. > : I've set up Kermit (using the Redhat rpm installation) on my Redhat 5.2
  29. > : Linux machine.
  30. > :
  31. > : Having spent some time getting it configured properly (with entries in the
  32. > : relevant init files to configure the modem etc) as root, I logged on as
  33. > : another user and tried to use it.
  34. > :
  35. > : I got errors in the startup of kermit, when it tried to SET LINE
  36. > : /dev/modem - I got "permission denied" - the same thing happened when I
  37. > : issued the command manually.
  38. > :
  39. > : I'm able to use minicom to communicate through the same modem using this
  40. > : non-root user, so I'm not sure what the permission denied problem is.
  41. > :
  42. > Because minicom is setuid and/or setgid to the groups and/or users who have
  43. > write access to the UUCP lockfile directory and/or the dialout device.
  44. >
  45. > Please read the UNIX appendix of "Using C-Kermit" or the section of
  46. > ckuins.doc (C-Kermit for UNIX Installation Instructions) on "Dialing Out and
  47. > Coordinating with UUCP".
  48. >
  49. > The same obstacles must be dealt with in UNIX no matter what communication
  50. > software you are installing.  Minicom happened to come preinstalled this way
  51. > so you didn't notice it.
  52. >
  53. > - Frank
  54.  
  55. Frank,
  56.  
  57. Thanks for your very prompt reply - I've read the relevant chapter, and checked
  58. out the permissions of the various programs, files and devices, and they all
  59. appear to be set up as required - I guess I must be missing something.
  60.  
  61. My kermit executable is setgid to uucp:
  62. [root@th1 bin]# ls -l kermit
  63. -rwxr-sr-x   1 root     uucp       517832 Mar 14  1997 kermit
  64.  
  65. My lockfile directory is in group uucp:
  66. [root@th1 /var]# ls -l /var | grep lock
  67. drwxrwxr-x   5 root     uucp         1024 Jan  7 11:14 lock
  68.  
  69. My modem is in group uucp:
  70. [root@th1 /var]# ls -l /dev/modem
  71. lrwxrwxrwx   1 root     uucp            4 Dec 29 20:23 /dev/modem -> cua0
  72.  
  73. Despite all this, I get:
  74. hedgert@th1.linux% /home/hedgert kermit
  75. Warning: terminal type unknown: "xterm"
  76. Fullscreen file transfer display disabled.
  77. Executing /etc/kermit/ckermit.ini for UNIX ...
  78. Sorry, terminal type unknown: "xterm"
  79. Executing /etc/kermit/ckermit.local.ini ...
  80.  Adding system dialing directory /etc/kermit/ckermit.phone ...
  81. /dev/modem: Permission denied
  82. Sorry, access to device denied: /dev/modem
  83.  
  84. when starting kermit, with "set line /dev/modem" at the end of my
  85. /etc/kermit/ckermit.local.ini file
  86.  
  87. Can you see what I'm doing wrong?
  88.  
  89. --
  90. Tim Hedger
  91.  
  92.  
  93.